package com.wcs.exam.controller.auth.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * Auth-订单信息表-响应对象
 * </p>
 *
 * @author wcs
 * @since 2024-07-06
 */
@Getter
@Setter
@Accessors(chain = true)
@Schema(description = "Auth-订单信息表-响应对象")
public class AuthOrderInfoGoodsResp implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "商品类型(1:课程、2:考试)")
    private Integer goodsType;

    @Schema(description = "商品ID")
    private Long goodsId;

    @Schema(description = "商品名称")
    private String goodsName;

    @Schema(description = "商品封面")
    private String goodsCover;

    @Schema(description = "划线价")
    private BigDecimal linePrice;

    @Schema(description = "商品价格")
    private BigDecimal price;

    @Schema(description = "商品有效情况(false：下架或未发布、true：上架或已发布)")
    private Boolean goodsValid;

    @Schema(description = "商品购买情况(false：未购买、true：已购买)")
    private Boolean purchased;
}
